package cn.com.aiton.trafficuser.repository;


import cn.com.aiton.trafficuser.entity.UserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TrafficUserRepository extends JpaRepository<UserEntity,Long> {
    public UserEntity findByUsernameAndPassword(String username,String password);
    public UserEntity findByUsername(String username);
}
